#!/bin/bash
# build image
# cd openwrt
# cp Board_XiaoYin_Config .config
# make menuconfig
# select the target:
# Target System(Ralink RT288x/RT3xxx) --->
# Subtarget(MT7688 based board) --->
# Target Profile(Default) --->
# XiaoYin32128:32MB FLASH + 128MB RAM
# XiaoYin1664:16MB FLASH + 64MB RAM
# XiaoYin0864:08MB FLASH + 64MB RAM
make -j4 V=s
# the binary image name like this in bin/ramips/:
# openwrt-ramips-mt7688-XiaoYinxxxx-squashfs-sysupgrade.bin

